package com.xdap.keymen.entity.dayang;

import com.definesys.mpaas.query.annotation.Column;
import com.definesys.mpaas.query.annotation.RowID;
import com.definesys.mpaas.query.annotation.Style;
import com.definesys.mpaas.query.annotation.Table;
import com.xdap.api.moudle.base.entity.NoTenBasePojo;
import lombok.*;

import java.io.Serializable;

@EqualsAndHashCode(callSuper = true)
@Table(value = "dy_group_buying")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Style()
public class DaYangGroupBuyingEntity extends NoTenBasePojo implements Serializable {
    @RowID
    private String id;
    @Column("document_id")
    private String documentId;
    @Column("tenant_id")
    private String tenant_id;
    @Column("source_channel")
    private String source_channel;
    @Column("group_buy_order")
    private String group_buy_order;
    @Column("amount")
    private double amount;
    @Column("order_status")
    private String order_status;
    @Column("order_time")
    private String order_time;
    @Column("payment_time")
    private String payment_time;
    @Column("redeem_store")
    private String redeem_store;
    @Column("redeem_user")
    private String redeem_user;
    @Column("redeem_time")
    private String redeem_time;
    @Column("certificate_id")
    private String certificate_id;
    private String encryptedCode;
    private String verifyToken;
    @Column("msg_id")
    private String msg_id;
    @Column("usage_status")
    private String usageStatus;
    @Column("status")
    private String status;
    @Column("coupon_status")
    private String couponStatus;
    @Column("pay_amount")
    private Double payAmount;
    private int count;
}
